package com.jic.interaction.ChinaPost.model.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MemberInfoRequest {

    @NotNull(message = "平台编码不能为空")
    @ApiModelProperty(notes = "平台编号")
    private String appId;

    @NotNull(message = "随机数不能为空")
    @ApiModelProperty(notes = "32位随机数")
    private String nonce;

    @NotNull(message = "请求时间不能为空")
    @ApiModelProperty(notes = "本次请求的时间戳Date().getTime()")
    private String timestamp;

    @NotNull(message = "签名值不能为空")
    @ApiModelProperty(notes = "本次请求计算出的签名值")
    private String sign;

    @NotNull(message = "版本号不能为空")
    @ApiModelProperty(notes = "请求版本号(1.0.0)")
    private String version;

    @NotNull(message = "用户编号")
    @ApiModelProperty(notes = "用户编号")
    private String userId;

    @NotNull(message = "手机号不能为空")
    @ApiModelProperty(notes = "手机号码")
    private String phoneNo;

    @NotNull(message ="会员注册成功信息不能为空")
    @ApiModelProperty(notes = "会员注册城市信息")
    private String city;
}
